package org.petstore.persistence;


import org.petstore.domain.Category;

import java.util.List;

public interface CategoryDAO {

    /**
     * description 获取所有大类
     *
     * @return List<Category>
     * @author huangzhangyan
     * @date 2021/10/31 18:29
     */
    List<Category> getCategoryList();

    /**
     * description 根据ID获取大类
     *
     * @param categoryId:
     * @return Category
     * @author huangzhangyan
     * @date 2021/10/31 18:32
     */
    Category getCategory(String categoryId);
}
